package com.xueyi.system.sysCity.domain.dto;

import com.xueyi.system.sysCity.domain.po.SysCityPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 行政区划 数据传输对象
 *
 * @author xueyi
 */
public class SysCityDto extends SysCityPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("parentCode", getParentCode())
            .append("parentName", getParentName())
            .append("level", getLevel())
            .append("name", getName())
            .append("citycode", getCitycode())
            .append("adcode", getAdcode())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("sort", getSort())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("mark", getMark())
            .append("children", getChildren())
            .toString();
    }
}